package ModelLayer;

public class Customer
{
	private int id;
	private String name;
	private String address;
	private int zipCode;
	private String city;
	private String phoneNo;
	
	public Customer() {}
	
	public Customer(int id) {this.id = id;}

	public Customer(String name, String address, int zipCode, String phoneNo)
	{
		this.name = name;
		this.address = address;
		this.zipCode = zipCode;
		//this.city = city;
		this.phoneNo = phoneNo;
	}
	
	

	public Customer(int id, String name, String address, int zipCode,
			String phoneNo)
	{
		this.id = id;
		this.name = name;
		this.address = address;
		this.zipCode = zipCode;
		this.phoneNo = phoneNo;
	}

	public int getId()
	{
		return id;
	}

	public String getName()
	{
		return name;
	}

	public String getAddress()
	{
		return address;
	}

	public int getZipCode()
	{
		return zipCode;
	}

	public String getCity()
	{
		return city;
	}

	public String getPhoneNo()
	{
		return phoneNo;
	}

	public void setId(int id)
	{
		this.id = id;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public void setAddress(String address)
	{
		this.address = address;
	}

	public void setZipCode(int zipCode)
	{
		this.zipCode = zipCode;
	}

	public void setCity(String city)
	{
		this.city = city;
	}

	public void setPhoneNo(String phoneNo)
	{
		this.phoneNo = phoneNo;
	}

	@Override
	public String toString()
	{
		return "Customer [id=" + id + ", name=" + name + ", address=" + address
				+ ", zipCode=" + zipCode + ", city=" + city + ", phoneNo=" + phoneNo
				+ "]";
	};
	
	

}
